#include "levelwindow.h"

LevelWindow::LevelWindow(QDeclarativeEngine* eng)
{
    myEngine = eng;
    QDeclarativeComponent *component = new QDeclarativeComponent(myEngine, QUrl::fromLocalFile("qml/cakeTower/MenuView.qml"));
    QDeclarativeItem *myMenuScreen = qobject_cast<QDeclarativeItem*>(component->create());
    myMenuScreen->setParentItem(this);
    myMenuScreen->setParent(this);
}
